package ps3838

type BalanceResp struct {
	VSportStatus    string  `json:"vSportStatus"`
	LoginID         string  `json:"loginId"`
	Outstanding     interface{}     `json:"outstanding"`
	TotalMessage    interface{}     `json:"totalMessage"`
	IsEnableSB      string  `json:"isEnableSB"`
	Success         bool    `json:"success"`
	CashBalance     float64 `json:"cashBalance"`
	VSportEnable    string  `json:"vSportEnable"`
	SumAnnouncement int     `json:"sumAnnouncement"`
	Currency        string  `json:"currency"`
	BetCredit       float64 `json:"betCredit"`
}

type PGame struct {
	LeagueId   int64
	LeagueName string
	GameId     int64
	PlayTime   int64
	HName      string // 主队
	AName      string // 客队
}

type PGameData struct {
	HandicapId   int64
	Handicap     float64
	HandicapType int
	GameId       int64
	HScore       int
	AScore       int
	HRate        float64
	HIndicator   int
	ARate        float64
	AIndicator   int
	ExtData      int
}
type TickResp struct {
	LineID        int         `json:"lineId"`
	AltLineID     int         `json:"altLineId"`
	Odds          string      `json:"odds"`
	Status        string      `json:"status"`
	MinStake      float64     `json:"minStake"`
	MaxStake      float64     `json:"maxStake"`
	MaxPayout     interface{} `json:"maxPayout"`
	SelectionID   string      `json:"selectionId"`
	CurrentScore  string      `json:"currentScore"`
	ErrorData     bool        `json:"errorData"`
	ErrorCode     interface{} `json:"errorCode"`
	OddsID        string      `json:"oddsId"`
	MinStakeWin   float64     `json:"minStakeWin"`
	MaxStakeWin   float64     `json:"maxStakeWin"`
	MinStakeRisk  float64     `json:"minStakeRisk"`
	MaxStakeRisk  float64     `json:"maxStakeRisk"`
	MinStakeBase  float64     `json:"minStakeBase"`
	MaxStakeBase  float64     `json:"maxStakeBase"`
	LeagueID      int         `json:"leagueId"`
	SportID       int         `json:"sportId"`
	EventID       int         `json:"eventId"`
	Sport         string      `json:"sport"`
	SportGroup    string      `json:"sportGroup"`
	PeriodNum     int         `json:"periodNum"`
	League        string      `json:"league"`
	HomeTeam      string      `json:"homeTeam"`
	AwayTeam      string      `json:"awayTeam"`
	BetTypeDisp   string      `json:"betTypeDisp"`
	BetType       int         `json:"betType"`
	Selection     string      `json:"selection"`
	Balance       float64     `json:"balance"`
	CurrencyCode  string      `json:"currencyCode"`
	PitcherHome   interface{} `json:"pitcherHome"`
	PitcherAway   interface{} `json:"pitcherAway"`
	BaseBall      bool        `json:"baseBall"`
	Inplay        bool        `json:"inplay"`
	EventTeamType int         `json:"eventTeamType"`
	EventDate     string      `json:"eventDate"`
	Handicap      float64     `json:"handicap"`
}

//下注数据

type PlaceResp struct {
	SelectionID string `json:"selectionId"`
	Status      string `json:"status"`
	BetID       int    `json:"betId"`
	ErrorCode   string  `json:"errorCode"`
	ErrorData   string `json:"errorData"`
}